/*基于GPLv2发布
2007/12/16
作者：旅行者2号
laf163@gmail.com*/

#include <ui_MainDialog.h>
#include <CaptureThread.h>

class MainDialog:public QDialog
{
	Q_OBJECT
public:
	MainDialog(QWidget *parent=0);

public slots:
//	void on_SubmitButton_clicked();
	void refresh();
	void aboutQt();
	void about();
	void option_set();

private:
	Ui::MainDialog ui;
	CaptureThread *pcapthrd;
	QMenuBar *pMenuBar;

protected:
	void timerEvent(QTimerEvent *event);
	void customEvent(QEvent * event);
};

